#ifndef _key_h_
#define _key_h_

#include "head.h"

sbit key1=P3^1;
sbit key2=P3^0;
sbit key3=P3^2;
sbit key4=P3^3;

#define KEY1PRESS 1
#define KEY2PRESS 2
#define KEY3PRESS 3
#define KEY4PRESS 4

#define UNPRESS 0

u8 key_scan(void);

#endif